package com.ruoyi.project.business.controlcenter.iot.enums;

/**
 * 设备操作指令
 *
 * @author hehui
 * @date 2022/12/26
 */
public enum DeviceOperateInstruct {
    BIND(101, "绑定"),
    UNBIND(102, "解绑"),
    START(201, "开启"),
    STOP(202, "关闭"),
    RESTART(203, "重启")
    ;


    private final int code;

    private final String desc;

    DeviceOperateInstruct(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
